# Contributor: Marten Ringwelski <git+alpine@maringuu.de>
# Maintainer: Marten Ringwelski <git+alpine@maringuu.de>
pkgname=dumb_runtime_dir
pkgver=1.0.4
pkgrel=2
pkgdesc="Creates an XDG_RUNTIME_DIR on login and never removes it"
url="https://github.com/ifreund/dumb_runtime_dir"
arch="all"
license="0BSD"
makedepends="linux-pam-dev"
source="https://github.com/ifreund/dumb_runtime_dir/archive/v$pkgver/dumb_runtime_dir-v$pkgver.tar.gz"
options="!check" # no test suite

build() {
	make
}

package() {
	make PREFIX="/" DESTDIR="$pkgdir" install
}

sha512sums="
f7607a1e048efa686e8f266efc9b798c905840fe660a8d3d4ead538b258971a1787406e94c792883e886360672ebc1d9fb812b2bf54755f1135a15479514d962  dumb_runtime_dir-v1.0.4.tar.gz
"
